home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NetNews Offline 2
/
NetNews Offline Volume 2.iso
/
news
/
comp
/
std
/
c
/
194
< prev
next >
Wrap
Text File
|
1996-08-06
|
906b
|
34 lines
Path: nntp.teleport.com!tedder
From: tedder@teleport.com (Ted Timmons)
Newsgroups: comp.std.c
Subject: Re: How to calculate the Holy Easter.
Date: 26 Jan 1996 17:58:32 GMT
Organization: Vancouver, WA
Message-ID: <4eb4o8$sl3@maureen.teleport.com>
References: <4e5kmh$2g9@leporello.cs.unibo.it>
NNTP-Posting-Host: linda.teleport.com
X-Newsreader: TIN [version 1.2 PL2]
Andrea Chierici (chierici@cs.unibo.it) wrote:
: Hi, can anybody send me a C function to calculate the Easter of every year?
: Thanks in advance,
Sounds like homework to me. Try this:
#include <christian.h>
#include <catholic.h>
#include <stdio.h>
main (){
int i;
for (i=0;i<365;++i)
if (i == EASTER)
printf ("The %i day is easter.\n", i);
}
--
-=TED=- | Owner, HOMEBUILT-L mailing list
tedder@teleport.com | "subscribe HOMEBUILT-L" to majordomo@teleport.com